import Vue from 'vue'
import App from './App'

// 状态
import store from './store'
Vue.prototype.$store = store

//全局指令
import '@/directive/index.js' // use clipboard by v-directive

App.mpType = 'app'
Vue.config.productionTip = true

//request
import request from './static/request'
Vue.prototype.$request = request;

// weijsdk
import wechat from 'static/wechat'
Vue.prototype.$wechat = wechat;

// 公共方法
import util from 'static/util'
Vue.prototype.$util = util;


const app = new Vue({
    store,
    ...App
})
app.$mount()
